package com.jkoss.wine.system.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;


/**
 * 
 * 
 * @Author Jason
 * @Version 1.0, 2018-10-01
 * @See
 * @Since com.jkoss.wine.system.entity
 * @Description: TODO
 */
public class Areas extends Model<Areas> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;
    @TableField("name")
    private String name;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Areas{" +
        ", id=" + id +
        ", name=" + name +
        "}";
    }
}
